<?php

/**
 * css actions.
 *
 * @package    berta-s
 * @subpackage css
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class staticActions extends sfActions {
	public function executeSettingsCss(sfWebRequest $request){
		$this->getResponse()->setContentType("text/css");
		$this->settings=Settings::getInstance();
	}

	public function executeTemplateCss(sfWebRequest $request){
		$this->getResponse()->setContentType("text/css");
		$this->settings=Settings::getInstance();
		$this->templateSettings=TemplateSettings::getInstance();
	}

    public function executeSettingsJs(sfWebRequest $request){
        $this->getResponse()->setContentType("application/javascript");
        $this->settings=Settings::getInstance();
    }

    public function executeTemplateJs(sfWebRequest $request){
        $this->getResponse()->setContentType("application/javascript");
        $this->settings=Settings::getInstance();
        $this->templateSettings=TemplateSettings::getInstance();
    }



}
